﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MvcEngine.Poll.Models;
using MvcEngine.Poll.Models.Entities;

namespace MvcEngine.Poll.LinqToSqlProvider.Models.Entities
{
    public class Poll : IPoll
    {
        #region IPoll Members

        public int PageContentId { get; set; }

        public string Question { get; set; }

        public bool Activated { get; set; }

        public DateTime ExpirationDate { get; set; }

        public int CreatedBy { get; set; }

        public DateTime CreatedDate { get; set; }

        public int ModifiedBy { get; set; }

        public DateTime ModifiedDate { get; set; }

        #endregion

        #region IGuidUnique Members

        public Guid Id { get; set; }

        #endregion
    }
}
